import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);
const routes = [{
    path: "/index",
    name: "Index",
    component: ()=>import("../components/index")
}, {
    path: "/",
    name: "Login",
    component: ()=>import("../components/login")
}, {
    path: "/goods",
    name: "goods",
<<<<<<< HEAD
    component: ()=>import("../components/goods")
},
{
    path: "/user",
    name: "user",
    component: ()=>import("../components/user")
}
];
=======
    component: ()=>import("../components/goods/goods.vue")
}];
>>>>>>> 922792ea08a09124eacffa60466d3fac6f3db245
const router  =  new VueRouter({
    routes
})

export default router;